home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: Date question
- Date: Thu, 29 Feb 96 13:56:15 GMT
- Organization: none
- Message-ID: <825602175snz@genesis.demon.co.uk>
- References: <4h3kpb$i3s@news.ysu.edu>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4h3kpb$i3s@news.ysu.edu> ab917@yfn.ysu.edu "Jerry Tomko" writes:
-
- >
- >
- >Hello. Does anyone know where I can find a program that,
- >when given the month, day, and year, will determine the
- >corrosponding day of the week (Sunday, Monday, Tuesday, etc..)?
-
- The standard C library provides a function called mktime() which can do this.
- The only question is whether it can cope with the range of dates that you
- are interested in.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-